package com.hp.easyBuy.entity;


import java.util.List;

public class TGoodsCategory {

  private long categoryid;
  private long parentid;
  private String categoryname;
  private long level;




  public TGoodsCategory() {
  }

  public TGoodsCategory(long categoryid, long parentid, String categoryname, long level) {
    this.categoryid = categoryid;
    this.parentid = parentid;
    this.categoryname = categoryname;
    this.level = level;
  }


  public long getCategoryid() {
    return categoryid;
  }

  public void setCategoryid(long categoryid) {
    this.categoryid = categoryid;
  }

  public long getParentid() {
    return parentid;
  }

  public void setParentid(long parentid) {
    this.parentid = parentid;
  }

  public String getCategoryname() {
    return categoryname;
  }

  public void setCategoryname(String categoryname) {
    this.categoryname = categoryname;
  }

  public long getLevel() {
    return level;
  }

  public void setLevel(long level) {
    this.level = level;
  }

  @Override
  public String toString() {
    return "TGoodsCategory{" +
            "categoryid=" + categoryid +
            ", parentid=" + parentid +
            ", categoryname='" + categoryname + '\'' +
            ", level=" + level +
            '}';
  }
}
